package com.ht.pms.core.dao;

import java.util.List;
import java.util.Map;

import com.ht.pms.core.dto.upload.UpLoadTemp;
import com.ht.pms.core.dto.upload.UploadFile;

public interface SalaryUploadFileDao {

	Integer insertSalaryFileTemp(UpLoadTemp uploadTemp);
	
	Integer insertSalaryFile(UploadFile uploadFile);

	/*UploadFile selectByFileName(String fileName);*/

	/*void updateUploadFileByBatchCode(String batchCode, Integer delType);*/

	/*UploadFile selectByFileId(Integer fileId);*/
	
	
	

	UpLoadTemp selectUploadTempByBatchCode(String batchCode);

	UpLoadTemp selectUploadTempByTemplateCodeAndTime(String relationTemplateCode, String time);
	
	Integer updateSalaryFileRecord(int successNo, int failNo, Integer fileId);

	
	Integer selectSalaryFileRecord(Integer fileId, String tableName, Integer state);
	
	UploadFile selectUploadFileByFileId(Integer fileId);

	List<UploadFile> selectUploadFileByBatchCode(String batchCode);

	int updateSalaryFileAuth(Integer salaryNo, Integer fileId);

	UploadFile selectUploadFileByTime(String time, String templateCode);

	int updateSalaryFileState(UploadFile uploadFile2);

	void confirmData(String fileId,String jobCode,String tableName);


	
	
}
